package com.qianhai.news.model;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@Entity
@Table(name = "ARTICLETYPE")
public class Articletype {
    @NotEmpty
    @Length(min=1,max=32)
    @Column(name = "articletype_uuid")
    private String articletypeUuid;

    @Column(name = "user_uuid")
    private String userUuid;

    @Column(name = "articletype_name")
    private String articletypeName;

    @Column(name = "articletype_state")
    private Integer articletypeState;

    @Column(name = "articletype_type")
    private Integer articletypeType;

    @Column(name = "articletype_typecn")
    private String articletypeTypecn;

    @Column(name = "articletype_remark")
    private String articletypeRemark;

    @Column(name = "articletype_createTime")
    private String articletypeCreatetime;

    @Column(name = "articletype_language")
    private String articletypeLanguage;

    @Column(name = "articletype_fatherid")
    private String articletypeFatherid;

    @Column(name = "articletype_code")
    private String articletypeCode;
    
    private List<Articletype> list;
    
    

    public List<Articletype> getList()
	{
		return list;
	}

	public void setList(List<Articletype> list)
	{
		this.list = list;
	}

	public String getArticletypeUuid() {
        return articletypeUuid;
    }

    public void setArticletypeUuid(String articletypeUuid) {
        this.articletypeUuid = articletypeUuid == null ? null : articletypeUuid.trim();
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid == null ? null : userUuid.trim();
    }

    public String getArticletypeName() {
        return articletypeName;
    }

    public void setArticletypeName(String articletypeName) {
        this.articletypeName = articletypeName == null ? null : articletypeName.trim();
    }

    public Integer getArticletypeState() {
        return articletypeState;
    }

    public void setArticletypeState(Integer articletypeState) {
        this.articletypeState = articletypeState;
    }

    public Integer getArticletypeType() {
        return articletypeType;
    }

    public void setArticletypeType(Integer articletypeType) {
        this.articletypeType = articletypeType;
    }

    public String getArticletypeTypecn() {
        return articletypeTypecn;
    }

    public void setArticletypeTypecn(String articletypeTypecn) {
        this.articletypeTypecn = articletypeTypecn == null ? null : articletypeTypecn.trim();
    }

    public String getArticletypeRemark() {
        return articletypeRemark;
    }

    public void setArticletypeRemark(String articletypeRemark) {
        this.articletypeRemark = articletypeRemark == null ? null : articletypeRemark.trim();
    }

    public String getArticletypeCreatetime() {
        return articletypeCreatetime;
    }

    public void setArticletypeCreatetime(String articletypeCreatetime) {
        this.articletypeCreatetime = articletypeCreatetime == null ? null : articletypeCreatetime.trim();
    }

    public String getArticletypeLanguage() {
        return articletypeLanguage;
    }

    public void setArticletypeLanguage(String articletypeLanguage) {
        this.articletypeLanguage = articletypeLanguage == null ? null : articletypeLanguage.trim();
    }

    public String getArticletypeFatherid() {
        return articletypeFatherid;
    }

    public void setArticletypeFatherid(String articletypeFatherid) {
        this.articletypeFatherid = articletypeFatherid == null ? null : articletypeFatherid.trim();
    }

    public String getArticletypeCode() {
        return articletypeCode;
    }

    public void setArticletypeCode(String articletypeCode) {
        this.articletypeCode = articletypeCode == null ? null : articletypeCode.trim();
    }
}